home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 22
/
Aminet 22 (1997)(GTI - Schatztruhe)[!][Dec 1997].iso
/
Aminet
/
util
/
moni
/
Scout.lha
/
Scout
/
arexx
/
freezetask.scout
< prev
next >
Wrap
Text File
|
1996-02-16
|
737b
|
30 lines
/**************************************************************************
* This ARexx script freezes the task <taskname>. *
* USAGE: freezetask <taskname> *
**************************************************************************/
if showlist('p','SCOUT.1') < 1 then do
say "Scout is not running!"
exit
end
address 'SCOUT.1'
parse arg taskname
options results
options failat 20
if taskname = '' then do
say "usage: freezetask <taskname>"
exit
end
FindTask taskname
taskaddress = result
if taskaddress = 'RESULT' then
say "Can't find task '" || taskname || "'!"
else do
FreezeTask taskname
say "Now task '" || taskname || "' is frozen!"
end
exit